package com.xmut.mall.ware.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient("mall-order")
public interface OrderFeignService {
    /**
     * 订单因为超时为支付而取消
     * @param param
     */
    @PostMapping("/order/order/cancelOrderReasonTimeout")
    void cancelOrderReasonTimeout(@RequestBody Map<String,Object> param);
}
